#pragma once

#include "common.h"

class Connect
{
private:
	Connect(void);
	~Connect(void);

public:
	static Connect* getSinglon();
	void	setKnetThreadId(int threadid){m_KnetThreadId = threadid;};
	void  setKnetConnectWnd(HWND hwnd){m_knetConnectWnd = hwnd;};
	void  sendDataToKNet(void* src, int len, DataType type);
	void  recvDataFromKNet(COPYDATASTRUCT* data);
private:
	HWND	m_knetConnectWnd;
	int		m_KnetThreadId;
	static	Connect* m_sConnect;

};



